package com.lap.auth.domain.dict.repository;

import com.lap.auth.domain.dict.DictType;
import java.util.Optional;

public interface DictTypeRepository {

  Integer save(DictType dictType);

  Integer deleteById(Integer id);

  Optional<DictType> findById(Integer id);

  Optional<DictType> findByCode(String code);
}
